//
//  KotnetLogin.h
//  KotnetAutologin
//
//  Created by Kristof Marien on 10/01/10.
//  Copyright 2010 KotnetAutologin. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "KeyChain.h"
#import "GetHTMLSource.h"

@interface KotnetLogin : NSObject {
	NSString *dataHTML;
	@private
	GetHTMLSource *source;
	@public
	id delegate;
	SEL cannotLoginCallback;
	SEL loggedInCallback;
}
@property(nonatomic, retain) NSString *dataHTML;
@property(nonatomic, retain) id delegate;
@property(nonatomic) SEL cannotLoginCallback;
@property(nonatomic) SEL loggedInCallback;

- (void)login:(id)loginDelegate cannotLoginSelector:(SEL)cannotLoginSelector loggedInSelector:(SEL)loggedInSelector;
- (void)sourcePWDFieldReceived:(NSString *)data;
- (void)sourcePWDFieldNotReceived;
- (void)loginSended:(NSString *)data;
@end
